<?php


namespace app\model;


class Article extends BaseModel
{
    public function user()
    {
        return $this->hasMany(User::class, 'id', 'uid');
    }
}